import request from '@/axios/axios.js'

// 获取角色树
export const getList = (data) => {
    return request({
        url: '/dms/device/page',
        method: 'post',
        data,
    })
}

export const selectAssUserPage = (data) => {
    return request({
        url: '/dms/deviceUser/selectAssUserPage',
        method: 'post',
        data,
    })
}
export const deleteApi = (data) => {
    return request({
        url: '/dms/deviceUser/deleteDeviceUser',
        method: 'DELETE',
        data,
    })
}

